<?php

declare (strict_types=1);
namespace App\Model;

use Hyperf\DbConnection\Model\Model;
use Qbhy\HyperfAuth\Authenticatable;

/**
 * @property int $id 
 * @property string $stu_num
 * @property string $nick_name 
 * @property string $class 
 * @property string $grade 
 * @property string $password 
 * @property string $sale 
 * @property string $login_ip 
 * @property string $status 
 * @property int $is_admin 
 * @property \Carbon\Carbon $created_at 
 */
class Student extends Model implements Authenticatable
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'student';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['*'];

    public function getId()
    {
        // TODO: Implement getId() method.
    }

    public static function retrieveById($key): ?Authenticatable
    {
        // TODO: Implement getId() method.
    }
}